import QtQuick 2.0
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.3
import QtCharts 2.3
import QtGraphicalEffects 1.12

Page{
    id:root
    title: "Custom"


    ChartView{
        id:chartView
        anchors.fill: parent
        backgroundColor: "transparent"
        theme: ChartView.ChartThemeDark
        antialiasing: true
        SplineSeries {
          name: "SplineSeries"
          XYPoint { x: 0; y: 0.0 }
          XYPoint { x: 1.1; y: 3.2 }
          XYPoint { x: 1.9; y: 2.4 }
          XYPoint { x: 2.1; y: 2.1 }
          XYPoint { x: 2.9; y: 2.6 }
          XYPoint { x: 3.4; y: 2.3 }
          XYPoint { x: 4.1; y: 3.1 }
      }
    }

    Glow {
        id:glow
        anchors.fill: chartView
        radius: 8
        samples: 17
        color: "#87CEFA"
        spread:0.0
        source: chartView
    }
//        RadialBlur {
//            anchors.fill: chartView
//            source: chartView
//            angle: 360
//            samples: 20
//        }

//        ZoomBlur {
//            anchors.fill: chartView
//            source: chartView
//            length: 24
//            samples: 20
//        }

}
